package cn.net.xyan.easy.webapp.base.service;

import java.util.Map;

/**
 * Created by zarra on 16/2/23.
 */
public interface IEntityResponseConvert<R,E> {
    boolean needContext();
    R convert(E entity,Map<String,Object> context);
}
